function ResizeButton() {

    /**
    * Shrink button base css class name prefix.
    *
    * @private
    * @property cssPrefix
    * @type     String
    * @default  messWindowShrinkButton
    */
    this.cssPrefix = "ResizeButton";
    
    /**
     * Default button size in pixels
     * 
     * @public
     * @property  buttonSize
     * @type      Number
     * @default   10
     */  
     this.buttonSize = new Number(10);
    
    this.setStandardButton(false);  
}
ResizeButton.prototype = new ActionButton();
ResizeButton.prototype.toString = function() { return "js.mess.ui.controls.windows.buttons.ResizeButton"; };
MessUIElement.prototype.addTagMapping("resizeButton", "ResizeButton");


    /**
    * Attaches all basic button event handlers
    *
    * @private
    * @method  attachEventHandlers
    */
    ResizeButton.prototype.attachEventHandlers = function() {
    	
    	// mouseclick
        eventUtil.addEventHandler(this.domObject, eventUtil.MOUSE_DOWN, ResizeButton.prototype.onMouseDownHandler);
    };

    /**
    * EVENT, onmouseclick shrink button handler
    *
    * @private
    * @method  onMouseClickHandler
    */
    ResizeButton.prototype.onMouseDownHandler = function() {
 
        var oEvent = eventUtil.getEvent();
		var oSource = eventUtil.getSource(oEvent);
		
        var button = ResizeButton.prototype.objects.get(oSource.id);
		
        // run shrink/expand method on parent object
        button.getParent().activateResizing(oEvent);
    };
    
    /**
     * Button size property getter
     * 
     * @public
     * @method  getButtonSize
     * @return  {Number} size
     */
	ResizeButton.prototype.getButtonSize = function() {
		
		return this.buttonSize;
	};
	
	/**
	 * Button size property setter
	 * 
	 * @public
	 * @method  setButtonSize
	 * @param   {Number} size   size to set
	 */
	ResizeButton.prototype.setButtonSize = function(size) {
		
		this.buttonSize = size;
	};
	
	/**
	 * Update button position within parent window
	 * 
	 * @public
	 * @method  updateButtonPosition
	 */
	ResizeButton.prototype.updateButtonPosition = function() {
		
		// left position
		this.setLeft(this.parent.getWidth() - this.getButtonSize() - 1); // 1 for the borders
		
		// top position
		this.setTop(this.parent.getHeight() - this.getButtonSize()-1);
    };




    
